<?php
include('header.php');
$smarty->assign('media', siteinfo('media'));
include('chat.php');
include('sidebar_banners.php');

$current_post = mres(($_GET['p']));

$singlePost = getSinglePost($current_post);

$numberOfComments = getNumberOfComments ($current_post);

$commentMessages = getCommentMessages ($current_post);

$smarty->assign('singlePost', $singlePost);

$smarty->assign('numberOfComments', $numberOfComments);

$smarty->assign('commentMessages', $commentMessages);

$smarty->display('magazin_single.tpl');
include('footer.php');

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
